<template>
  <div>{{routerName}}</div>
</template>


<script>
  import {mapState} from 'vuex'
  export default {
    computed: {
      ...mapState({
        'routerName': state => state.route.name
      })
    }
  }
</script>
